//
//  ActivityIntroduceUIView.m
//  UI03_homework
//
//  Created by aaaaaa on 16/6/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ActivityIntroduceUIView.h"

@implementation ActivityIntroduceUIView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        UILabel *lable = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, frame.size.width, 30)];
        lable.text = @"活动介绍";
        lable.font = [UIFont boldSystemFontOfSize:22];
        [self addSubview:lable];
    }
    return self;
}



- (void)addUILableWithText:(NSString *)lableText withLableFrame:(CGRect)lableFrame{
    UILabel *lable = [[UILabel alloc] initWithFrame:lableFrame];
    lable.text = lableText;
    [self addSubview:lable];
}






















@end
